<?php
defined('APP_PATH') or die ('Unauthorized access');
header('Content-Type:text/html; charset=utf-8');
/**
 * 错误处理核心库
 * @author windpurple
 * @version 1.0
 */
final class Error
{
	/**
	 * 
	 * @param unknown_type $message
	 */
	static function message($message)
	{
		echo '<table border="0" cellspacing="1" cellpadding="0" width="100%" height="auto" bgcolor="#ef0606" aligh="center" style="margin-top:20px">',
				'<tr><td bgcolor="#fffed6" style="padding:10px;font-size:13px;color:#333333">',
				$message,
				'</td></tr>',
			'</table>';
		exit;
	}
}

?>